package com.carl.threadState;


/**
 * 运行就绪状态
 */
public class runnableThread {

    public static void main(String[] args) throws Exception{
        Thread t1 = new Thread(() -> {
            while (true) {

            }
        });
        t1.start();
        Thread.sleep(500);
        System.out.println(t1.getState());

    }



}
